package com.example.web.websystem.token.manage;

import lombok.Data;

/**
 * token中保存的字段对象
 * Created by YangGang on 2021/1/28 14:52。
 */
@Data
public class TokenObject {
    private Long userId;
    private Long groupId;
    private Boolean isAdministrator;

    private TokenObject() {
    }

    public TokenObject(Long userId, Long groupId, Boolean isAdministrator) {
        this.userId = userId;
        this.groupId = groupId;
        this.isAdministrator = isAdministrator;
    }
}

